SRCS:=main.c tcpepoll.c worker.c threadpool.c transmission.c  command.c mysql.c md5.c  login.c

OBJS:=$(SRCS:%.c=%.o)
server:$(OBJS)
	gcc $^ -o $@ -lpthread  -lcrypt -lmysqlclient
%.o:%.c
	gcc -c $^ -o $@ -g
clean:
	$(RM) $(OBJS) server
